class InfoType < ActiveRecord::Base
  
  validates_uniqueness_of :code
  
  def code
    ActiveSupport::StringInquirer.new(self[:code])
  end
end
